package com.ruibang.glass.material.dto;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@ApiModel(description = "容器呆滞 ")
public class MaterialRqDullnessDTO {

    @ApiModelProperty(value = "容器编号")
    private String rqNumber;

    @ApiModelProperty(value = "类型")
    private String aTypeShelf;

    @ApiModelProperty(value = "所属仓库")
    private String warehouseName;

    @ApiModelProperty(value = "所属库位")
    private String locationName;

    @ApiModelProperty(value = "状态")
    private String containerStatusName;

    @ApiModelProperty(value = "更新人")
    private String updateUser;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "创建日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "呆滞时长")
    private Integer dullnessTime;


}
